package com.huazhi.wzsnw.mapper;

import com.huazhi.wzsnw.model.Trainrecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TrainrecordMapper {
    int deleteByPrimaryKey(String tid);

    int insert(Trainrecord record);

    int insertSelective(Trainrecord record);

    Trainrecord selectByPrimaryKey(String tid);

    int updateByPrimaryKeySelective(Trainrecord record);

    int updateByPrimaryKey(Trainrecord record);

    List<String> getTrainRecordList(@Param("key") String key, @Param("trainrecord") Trainrecord trainrecord);

//    List<String> selectTrainRecordList(String key, Trainrecord trainrecord);

    List<Trainrecord> selectListTrainRecordByListTid(@Param("stringList") List<String> stringList, @Param("pageIndex") Integer pageIndex, @Param("pageSize") Integer pageSize);
}